package com.hdoit.kylin.logical.user.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.hdoit.kylin.logical.user.dao.ITeacherStudentDao;
import com.hdoit.kylin.logical.user.dao.impl.TeacherStudentDaoImpl;
import com.hdoit.kylin.logical.user.model.TeacherStudent;
import com.hdoit.kylin.logical.user.service.ITeacherStudentService;
import com.hdoit.kylin.logical.viewmodel.user.TeacherStudentSearch;
import com.tennetcn.common.dao.base.impl.SuperService;
import com.tennetcn.common.message.PagerModel;

@Component
public class TeacherStudentServiceImpl extends SuperService<TeacherStudent>
		implements ITeacherStudentService {
	private ITeacherStudentDao TeacherStudentDao;
	
	public ITeacherStudentDao getTeacherStudentDao(){
		return TeacherStudentDao;
	}
	
	@Resource
	public void setTeacherStudentDao(ITeacherStudentDao teacherStudentDao) {
		this.TeacherStudentDao = teacherStudentDao;
	}
	@Override
	public List<TeacherStudent> queryList(TeacherStudentSearch search) {
		// TODO Auto-generated method stub
		return getTeacherStudentDao().queryList(search);
	}

	
	
	
}
